/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qy.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.qy.entity.QyProgram;
import com.thinkgem.jeesite.modules.qy.dao.QyProgramDao;

/**
 * 节目Service
 * @author JohnShen
 * @version 2016-12-12
 */
@Service
@Transactional(readOnly = true)
public class QyProgramService extends CrudService<QyProgramDao, QyProgram> {

	public QyProgram get(String id) {
		return super.get(id);
	}
	
	public List<QyProgram> findList(QyProgram qyProgram) {
		return super.findList(qyProgram);
	}
	
	public Page<QyProgram> findPage(Page<QyProgram> page, QyProgram qyProgram) {
		return super.findPage(page, qyProgram);
	}
	
	@Transactional(readOnly = false)
	public void save(QyProgram qyProgram) {
		super.save(qyProgram);
	}
	
	@Transactional(readOnly = false)
	public void delete(QyProgram qyProgram) {
		super.delete(qyProgram);
	}
	
}